﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static System.Net.Mime.MediaTypeNames;

namespace CoreShop.Model
{
    public partial class sysrolepos
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "roleId", IsPrimaryKey = true)]
        public string roleId { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sysUserId", IsNullable = true)]
        public Int64 sysUserId { get; set; }

        /// <summary>
        /// 组件名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "component", IsNullable = true)]
        public string component { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "menu_name", IsNullable = true)]
        public string menu_name { get; set; }

        /// <summary>
        /// 角色状态（0正常 1停用）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "status", IsNullable = true)]
        public Boolean status { get; set; } = true;

        /// <summary>
        /// 是否显示 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "visible", IsNullable = true)]
        public Boolean visible { get; set; } = true;        
    }
}
